import request from '../utils/request'


let getMenberList = (page = 1, size = 10, data) => {
    return request({
        url: `/member/list/${page}/${size}`,
        method: 'GET',
        params: data
    })
}
let removeMenber = (id) => {
    return request({
        url: `/member/${id}`,
        method: 'DELETE',
    })
}


export default {
    getMenberList,
    removeMenber
}